package threaddemo11;

import threaddemo11.MyRunnable;

/**
 * Created by L.jp
 * Description:
 * User: 86189
 * Date: 2022-08-06
 * Time: 23:03
 */
public class TestDemo {
    public static void main(String[] args) {
        MyRunnable r1=new MyRunnable();
        Thread t1=new Thread(r1);
        t1.setName("窗口一");
        t1.start();
        
        Thread t2=new Thread(r1);
        t2.setName("窗口二");
        t2.start();
        
        
    }
}
